package com.hdoit.ares.logical.acc.model;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      xieqixiu
 * @email       
 * @createtime  2018年01月03日 10:58:08
 * @comment
 */
@Entity
@Table(name="acc_RedEnvelope_record")
public class RedEnvelopeRecord extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //领取人id
    @Column(name="receiverId")
    private String receiverId;
       
    //推荐人Id
    @Column(name="refreeId")
    private String refreeId;

    //推荐人等级
    @Column(name="refreeLevel")
    private String refreeLevel;

    //加入创客人的Id
    @Column(name="joinId")
    private String joinId;

    //加入人的等级
    @Column(name="joinLevel")
    private String joinLevel;

    //红包金额
    @Column(name="redMoney")
    private Double redMoney;

 
	//领取时间
    @Column(name="getDate")
    private Date getDate;

    //发送时间
    @Column(name="sendDate")
    private Date sendDate;
    
    //奖金类别
    @Column(name="category")
    private String category;
    
    //领取状态
    @Column(name="redenvelopeStatus")
    private String redenvelopeStatus;
    
    //支付订单号
    @Column(name="tradeNo")
    private String tradeNo;
    
    //红包有效时间
    @Column(name="duration")
    private int duration;
    
  
	public int getDuration() {
		return duration;
	}
	public void setDuration(int duration) {
		this.duration = duration;
	}
	public String getTradeNo() {
		return tradeNo;
	}
	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	public String getReceiverId() {
		return receiverId;
	}
	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
	}
	public String getRedenvelopeStatus() {
		return redenvelopeStatus;
	}
	public void setRedenvelopeStatus(String redenvelopeStatus) {
		this.redenvelopeStatus = redenvelopeStatus;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public Date getSendDate() {
		return sendDate;
	}
	public void setSendDate(Date sendDate) {
		this.sendDate = sendDate;
	}
	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getRefreeId(){
        return this.refreeId;
    }
    public void setRefreeId(String refreeId){
         this.refreeId=refreeId;
    }

    public String getRefreeLevel(){
        return this.refreeLevel;
    }
    public void setRefreeLevel(String refreeLevel){
         this.refreeLevel=refreeLevel;
    }

    public Double getRedMoney() {
 		return redMoney;
 	}
 	public void setRedMoney(Double redMoney) {
 		this.redMoney = redMoney;
 	}
    public String getJoinId(){
        return this.joinId;
    }
    public void setJoinId(String joinId){
         this.joinId=joinId;
    }

    public String getJoinLevel(){
        return this.joinLevel;
    }
    public void setJoinLevel(String joinLevel){
         this.joinLevel=joinLevel;
    }



    public Date getGetDate(){
        return this.getDate;
    }
    public void setGetDate(Date getDate){
         this.getDate=getDate;
    }

}